<html>
	<head>
		<title>Projeto GCA</title>
		<%@ include file="/jsp/common/taglibs.jsp"%>
		<script type="text/javascript">
		function logar(){
		var frm = document.forms[0];
		frm.task.value = 'logar';
		frm.submit();
		}
		</script>

	</head>
	<body>
		<html:form action="/gerenciarConta">
			<html:hidden property="task" name="gerenciarContaForm" />
			<table align="center">
					<logic:messagesPresent>
						<html:messages id="errors">
							<bean:write name="errors" filter="false"/>
							<br>
						</html:messages>
					</logic:messagesPresent>
			</table>
			<br>
			<table class="bordatabela" align="center" width="25%">
				<tr>

					<th class="fundoescuro">
						Logar-se
					</th>
				</tr>
				<tr>
					<th class="fundoclaro" align="left">
						Login:
					</th>
				</tr>
				<tr>
					<td class="fundobranco">
						<html:text property="contaVO.login" name="gerenciarContaForm"
							styleClass="inputobrigatorio" size="67" />
						<br>

					</td>
				</tr>
				<tr>
					<th class="fundoclaro" align="left">
						Senha:
					</th>
				</tr>
				<tr>
					<td class="fundobranco">
						<html:password property="contaVO.senha" name="gerenciarContaForm"
							styleClass="inputobrigatorio" size="67" />
					</td>
				</tr>
			</table>
			<table align="center">	
				<tr>
					<td align="center">
						<html:button styleClass="botao" value="Login" onclick="logar();"
							property="" />
					</td>
				</tr>
			</table>
		</html:form>
	</body>
</html>
